﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="Maintenance" targetNamespace="http://tempuri.org/Maintenance.xsd" xmlns:mstns="http://tempuri.org/Maintenance.xsd" xmlns="http://tempuri.org/Maintenance.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="ILEConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="ILEConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.ILEConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MaintenanceTableAdapter" GeneratorDataComponentClassName="MaintenanceTableAdapter" Name="Maintenance" UserDataComponentName="MaintenanceTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="ILEConnectionString (Web.config)" DbObjectName="dbo.Maintenance" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillMaintenance" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetMaintenance" GeneratorSourceName="FillMaintenance" GetMethodModifier="Public" GetMethodName="GetMaintenance" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetMaintenance" UserSourceName="FillMaintenance">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [Maintenance] WHERE (([Type] = @Original_Type))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [Maintenance] ([Type], [Message], [IsEnabled]) VALUES (@Type, @Message, @IsEnabled)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Message" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Message" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsEnabled" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsEnabled" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT     Maintenance.*
FROM         Maintenance
WHERE Type = @Type</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="Type" ColumnName="Type" DataSourceName="[E:\WORKSPACE\ILE RC1\APP_DATA\ILE.MDF].dbo.Maintenance" DataTypeServer="varchar(11)" DbType="AnsiString" Direction="Input" ParameterName="@Type" Precision="0" ProviderType="VarChar" Scale="0" Size="11" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [Maintenance] SET [Type] = @Type, [Message] = @Message, [IsEnabled] = @IsEnabled WHERE (([Type] = @Original_Type))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Message" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="Message" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsEnabled" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsEnabled" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Type" DataSetColumn="Type" />
              <Mapping SourceColumn="Message" DataSetColumn="Message" />
              <Mapping SourceColumn="IsEnabled" DataSetColumn="IsEnabled" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="ILEConnectionString (Web.config)" DbObjectName="" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="UpdateMaintenance" Modifier="Public" Name="UpdateMaintenance" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="UpdateMaintenance">
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>UPDATE [Maintenance] SET [Message] = @Message, [IsEnabled] = @IsEnabled WHERE (([Type] = @Original_Type))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="Message" ColumnName="Message" DataSourceName="[E:\WORKSPACE\ILE RC1\APP_DATA\ILE.MDF].dbo.Maintenance" DataTypeServer="text" DbType="AnsiString" Direction="Input" ParameterName="@Message" Precision="0" ProviderType="Text" Scale="0" Size="2147483647" SourceColumn="Message" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="IsEnabled" ColumnName="IsEnabled" DataSourceName="[E:\WORKSPACE\ILE RC1\APP_DATA\ILE.MDF].dbo.Maintenance" DataTypeServer="bit" DbType="Boolean" Direction="Input" ParameterName="@IsEnabled" Precision="0" ProviderType="Bit" Scale="0" Size="1" SourceColumn="IsEnabled" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="Original_Type" ColumnName="Type" DataSourceName="[E:\WORKSPACE\ILE RC1\APP_DATA\ILE.MDF].dbo.Maintenance" DataTypeServer="varchar(11)" DbType="AnsiString" Direction="Input" ParameterName="@Original_Type" Precision="0" ProviderType="VarChar" Scale="0" Size="11" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="Maintenance" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="Maintenance" msprop:Generator_DataSetName="Maintenance">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Maintenance" msprop:Generator_UserTableName="Maintenance" msprop:Generator_RowDeletedName="MaintenanceRowDeleted" msprop:Generator_TableClassName="MaintenanceDataTable" msprop:Generator_RowChangedName="MaintenanceRowChanged" msprop:Generator_RowClassName="MaintenanceRow" msprop:Generator_RowChangingName="MaintenanceRowChanging" msprop:Generator_RowEvArgName="MaintenanceRowChangeEvent" msprop:Generator_RowEvHandlerName="MaintenanceRowChangeEventHandler" msprop:Generator_TablePropName="_Maintenance" msprop:Generator_TableVarName="tableMaintenance" msprop:Generator_RowDeletingName="MaintenanceRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Type" msprop:Generator_UserColumnName="Type" msprop:Generator_ColumnPropNameInRow="Type" msprop:Generator_ColumnVarNameInTable="columnType" msprop:Generator_ColumnPropNameInTable="TypeColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="11" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Message" msprop:Generator_UserColumnName="Message" msprop:Generator_ColumnPropNameInRow="Message" msprop:Generator_ColumnVarNameInTable="columnMessage" msprop:Generator_ColumnPropNameInTable="MessageColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="IsEnabled" msprop:Generator_UserColumnName="IsEnabled" msprop:Generator_ColumnPropNameInRow="IsEnabled" msprop:Generator_ColumnVarNameInTable="columnIsEnabled" msprop:Generator_ColumnPropNameInTable="IsEnabledColumn" type="xs:boolean" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Maintenance" />
      <xs:field xpath="mstns:Type" />
    </xs:unique>
  </xs:element>
</xs:schema>